"""Helper functions

Consists of functions to typically be used within templates, but also
available to Controllers. This module is available to templates as 'h'.
"""
# Import helpers as desired, or define your own, ie:
#from webhelpers.html.tags import checkbox, password
from webhelpers.html import literal
from webhelpers.html.tags import *
from routes import url_for as url

def titlecase(string):
    from titlecase import titlecase as _titlecase
    return _titlecase(string.lower())


def chart(data):
    from pylons.templating import render_mako
